<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<% response.addHeader("Refresh","3600"); %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>Home Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="mm_travel2.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
//--------------- LOCALIZEABLE GLOBALS ---------------
var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
//Ensure correct for language. English is "January 1, 2004"
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
//---------------   END LOCALIZEABLE   ---------------
</script>
<style type="text/css">
.classname {
	-moz-box-shadow:inset 0px 1px 0px 0px #97c4fe;
	-webkit-box-shadow:inset 0px 1px 0px 0px #97c4fe;
	box-shadow:inset 0px 1px 0px 0px #97c4fe;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) );
	background:-moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0');
	background-color:#3d94f6;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #337fed;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:14px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #1570cd;
}.classname:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6) );
	background:-moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6');
	background-color:#1e62d0;
}.classname:active {
	position:relative;
	top:1px;
}
.Large
{
    font-size: 16pt;
    height: 25px;
}
/* This imageless css button was generated by CSSButtonGenerator.com */
</style>
</head>
<body bgcolor="#C0DFFD">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr bgcolor="#3366CC">
    <td colspan="3" rowspan="2"><img src="mm_travel_photo.jpg" alt="Header image" width="382" height="127" border="0" /></td>
    <td height="63" colspan="3" id="logo" valign="bottom" align="center" nowrap="nowrap">World News Portal </td>
    <td width="10">&nbsp;</td>
  </tr>
  

  <tr bgcolor="#3366CC">
    <td height="64" colspan="3" id="tagline" valign="top" align="center">Group A </td>
	<td width="10">&nbsp;</td>
  </tr>

  <tr>
    <td colspan="7" bgcolor="#003366"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
  </tr>

  <tr bgcolor="#CCFF99">
  	<td colspan="7" id="dateformat" height="25">&nbsp;&nbsp;<script language="JavaScript" type="text/javascript">
      document.write(TODAY);	</script></td>
      
  </tr>
 <tr>
    <td colspan="7" bgcolor="#003366"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
  </tr>
  
  

 <tr>
    <td width="199" valign="top" bgcolor="#E6F3FF">
    <table border="0" cellspacing="0" cellpadding="0" width="147"
					id="navigation">
					<tr>
						<td width="147" align="center">&nbsp;<br /><b><u> Links</u></b><br />&nbsp;
						</td>
					</tr>
					<tr>
						<td width="147"><a href="home.action" class="navText">Home</a>
						</td>
					</tr>

					<tr>
						<td width="147"><a href="insertlink.jsp" class="navText">Add
								RSS Links</a>
						</td>
					</tr>
				</table>

				<table border="0" cellspacing="0" cellpadding="0" width="147" id="navigation">
        <tr>
          <td width="147" align="center">&nbsp;<br /><b><u> Facets(Categories)</u></b><br />&nbsp;</td>
        </tr>
        <s:iterator value="facetsMap">
			<tr>
				<td width="147">
					<s:a href="search.action?category=%{value}" cssClass="navText">
								<s:property value="key" escape="false" /></s:a>
								</td>
							
						</tr>
						</s:iterator>
      </table>
      <s:if test="!clusters.isEmpty()">
					<table border="0" cellspacing="0" cellpadding="0" width="147"
						id="navigation">
						<tr>
							<td width="147" align="center">&nbsp;<br />
							<b><u> Clusters</u>
							</b><br />&nbsp;</td>
						</tr>

						<s:iterator value="clusters">
						<tr>
							<td width="147"><s:a
								href="search.action?search=%{key}&category=%{category}" cssClass="navText">
								<s:property value="key" />(<s:property value="value" />)</s:a>
								</td>
							
						</tr>
						</s:iterator>
					</table>
				</s:if>
 	<br />
 	
  	&nbsp;<br />
  	&nbsp;<br />
  	&nbsp;<br /> 	</td>
    <td width="182"><img src="mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
    
    <td colspan="2" valign="top"><img src="mm_spacer.gif" alt="" width="305" height="1" border="0" /><br />
	<table border="0" cellspacing="0" cellpadding="0" width="662">
        <tr>
          <td width="662" class="pageName">
          <br/>
          <form name="searchbox" method="post" action="search.action?searchfrom=description">
          <s:hidden name="category" value="%{category}"/>
          <input type="text" class="Large" value="<s:property value="%{search}" />" name="search" size="50"/>
          <input type="submit" class="classname" value="Search"/>
          </form> 
		<br/>
          </td>
		</tr>

        <tr>
          <td width="662" class="pageName"><s:property value="category" default="Top News" /> </td>
		</tr>

		<tr>
          <td class="bodyText"><p>
          			<s:iterator value="news">
						<b><s:property value="title" /></b><br /><br />
						<b> Author :</b>
						<s:property  value="author" default="Not Available"/><br/><br/>
						<s:property value="pubDate"/><br/><br/>
						<s:property value="description" /><a target="_blank" href="<s:property value="link" />">read more...</a><br /><br />
						
						_________________________________________________________________<br /><br/>
					</s:iterator>
          </p>

		</td>
        </tr>
      </table>
	  <br />	  </td>

  </tr>
  
</table>
</body>
</html>
